﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Enter.Config;

namespace Enter.Mvc.Mall.Model.Order
{
   public class OrderModel
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OrderNO
        { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UIID
        { get; set; }
        /// <summary>
        /// 店铺SNO
        /// </summary>
        public string SNO
        { get; set; }
        /// <summary>
        /// 店铺名称
        /// </summary>
        public string ShopName
        { get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        public string AddTime
        { get; set; }
        /// <summary>
        /// 确认时间
        /// </summary>
        public string ConfirmTime
        { get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public string PayTime
        { get; set; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public string SendTime
        { get; set; }
        /// <summary>
        /// 交易完成时间
        /// </summary>
        public string EndTime
        { get; set; }
        /// <summary>
        /// 商品总价
        /// </summary>
        public decimal GoodAmount
        { get; set; }
        /// <summary>
        /// 运费
        /// </summary>
        public decimal YunFei
        { get; set; }
        /// <summary>
        /// 优惠额
        /// </summary>
        public decimal DisAmount
        { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal AMOUNT
        { get; set; }
        /// <summary>
        /// 订单状态 
        /// </summary>
        public EnumOrderStatus STATE
        { get; set; }
        /// <summary>
        /// 买家是否已评
        /// </summary>
        public bool ISUserComment
        { get; set; }
        /// <summary>
        /// 卖家是否已评
        /// </summary>
        public bool ISShopComment
        { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Memo
        { get; set; }

       public List<Order_ItemsModel> items
        {
            get;
            set;
        }
    }

   /// <summary>
   /// 实体类T302_Order_ItemsEntity 
   /// </summary>
   public class Order_ItemsModel
   {
      
       /// <summary>
       /// ID
       /// </summary>
       public int ID
       { get; set; }
       /// <summary>
       /// 订单ID
       /// </summary>
       public int OMID
       { get; set; }
      
       /// <summary>
       /// 商品ID
       /// </summary>
       public int GID
       { get; set; }
       /// <summary>
       /// 
       /// </summary>
       public string GItemID
       { get; set; }
       /// <summary>
       /// 
       /// </summary>
       public string ColorName
       { get; set; }
       /// <summary>
       /// 
       /// </summary>
       public string SizeName
       { get; set; }


       /// <summary>
       /// 销售单价
       /// </summary>
       public decimal OPRICE
       { get; set; }
       /// <summary>
       /// 销售数量
       /// </summary>
       public int ONUM
       { get; set; }
     
    

       /// <summary>
       /// 商品
       /// </summary>
       public string ProdTitle
       { get; set; }
       /// <summary>
       /// 商品图片
       /// </summary>
       public string ImgUrl
       { get; set; }
       /// <summary>
       /// 商品图片
       /// </summary>
       public string SmallImgUrl
       { get; set; }

   }
}
